package com.gtt.pattern.structural.composite;

/**
 * Component
 * 
 * @author 高甜甜(gao12581@sina.com)
 * @date 2011-3-31
 * 
 */
public abstract class Component {

	protected String name;

	public Component(String name) {
		super();
		this.name = name;
	}

	public abstract void add(Component c);

	public abstract void dumpContents();
}
